package test.字符串模板

fun main(args: Array<String>) {
    val createDiary = createDiary("天安门")
    println(createDiary)
}

//生成日记模板
fun createDiary(place: String): String {
    val result = "今天天气晴朗，万里无云，我们去${place}游玩，首先映入眼帘的是，${place}${place.length}个鎏金大字"
    return  result
}

